New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have added new BMP280 barometer support in cleanflight #975
Conversation
Why did you add it to makefile and target.h for all the boards? Should you not just add it only to the boards that actually have this sensor? |
I follow the bmp085 which is a similar sensor. |
Also it can connect by breakout board to any target with i2c. This is how I test it. |
I would say you only define the sensors actually present on the target. |
See my comment just before your. It can connect to any target using I2C breakout. |
Yeah, that makes sense |
How do you make cleanflight pick the right sensor? |
It's automatically detected, the case-switch in sensors/initialization.c, if not detected then it will try another or else disable that type of sensor. So without it connected also still works. |
What's the status on this? |
I have a board with a bmp280, that I'd love to get support for. What needs to happen to this, for it to be in the next release? |
There are older existing pull requests that need to be addressed first, there's quite a backlog. Bugs are prioritized over new features too. |
Oh, and i need to be able to test the code before its merged but i dont have a board with a BMP280 here. Unit tests would be good too. |
http://www.watterott.com/en/BMP280-Breakout is what I used |
@hydra being rather new to this space, is there anything I can do to help with those? Can I tag the ones with bad travis builds or something, in a way to triage bugs that can be paid attention to? |
Yes, submittig PRs that fix the bugs would help immensely. |
@rlehey , you may also consider that somewhat less disingenuously describing the target of this patch may help merging into main line. Specifically, rather than spamming all targets, creating a dedicated target (such as DODOF3) may more accurately identify the real purpose of the PR and thus hasten its acceptance. I would council against the terms such as SERIOUSLY or WOW in creating such a target if you intend the PR to be taken, dare I say it, seriously. |
the sensor can be used by other targets with breakout boards. the same way there is BMP 085/180 support now. anyone making a commercial
|
my PR adds support for the barometer.
|
Conflicts: Makefile
AfroMini revision 3 is now shipping with this BMP280 barometer. |
@hydra Any chance to merge it soon? |
Hey guys, would appreciate this to be finalised/ fixed/ merged. Thanks for all your hard work |
The servo/mixer code and related configurator changes to support the tilt flight modes are currently the highest priority. Some unit tests for this PR wouls help immensely. |
Please let me know if there's any way I can help out (in any way - not just related to this pull request). I know screw all about coding, but have a pretty decent lab kitted up for hardware, and am no noob about firmware and protocols. |
@theantnest unit tests that check for datasheet-specified conversions between barometer raw readings and the output pressures/temperatures would be the main testable component here. The preexisting |
Any progress on this? Could do with this being in the next release (imo). |
I have checked this out on afromini rev3, the code works, nothing is broken as far as I can see. The values it outputs look correct, but very imprecise. |
What's blocking this merge? Is it just the backlog of pull requests? Something else? |
@hydra please, consider accepting this. It works and helps people with rev3 afrominis. |
I've taken this code and added the requisite unit tests, see #1316. |
merged. |
Split eeprom code into separate module
It builds